package cn.deschen.biz.dto.unit;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Map;
import java.util.Set;

/**
 * @Author hanbin_chen
 * @Description 推广单元新增参数
 * @DateTime 2021/6/19
 * @Version V1.0.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="推广单元新增参数", description="")
public class UnitAddDTO {

    @ApiModelProperty(value = "关联推广计划 id")
    private Long planId;

    @ApiModelProperty(value = "推广单元名称")
    private String unitName;

    @ApiModelProperty(value = "推广单元状态（normal-正常 stop-停用）")
    private String unitStatus;

    @ApiModelProperty(value = "广告位类型(coopen-开屏, patch-贴片 , center-中贴, pause-暂停帖, end-后贴)")
    private String positionType;

    @ApiModelProperty(value = "预算")
    private Long budget;

    @ApiModelProperty(value = "推广元素列表")
    private Map<String, Set<UnitEleDTO>> eleMap;


}
